<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/css/login.css}" rel="stylesheet">
    <link th:href="@{/css/page.css}" rel="stylesheet">

</head>
<body>
<div th:fragment="top">
    <form action="/logout"><input id="logout" type="submit" value="退出登录"></form>
    <div id = "uName" th:text="${session.uName}"></div>
</div>

</body>
</html>